PESetNDetailCopies

Use PESetNDetailCopies to print multiple copies of the Details section of the report. For example, you can use this function to print multiple copies of labels for a customer, multiple copies of a purchase order, or multiple copies of anything set up in the Details section of your report. To retrieve the number of times each Details section is to be printed, use PEGetNDetailCopies.

C Syntax
BOOL CRPE_API PESetNDetailCopies (
        short printJob,
        short nDetailCopies );
Parameters

printJob

Specifies the print job for which you want set the number of copies to print.

nDetailCopies

Specifies the number of report copies you want to print.

Returns
Remarks
VB Syntax

VB Sample Code for modifying sections and lines

Declare Function PESetNDetailCopies Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal nDetailCopies As Integer ) As Integer
Delphi Syntax
function PESetNDetailCopies(
    printJob: Word;
    nDetailCopies: smallint;
    ): Bool stdcall;
dBASE for Windows Syntax
EXTERN CLOGICAL PESetNDetailCopies (CWORD, CWORD) CRPE.DLL


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com